#include"TcpServer.hpp"
#include"CommandExc.hpp"
#include<memory>
int main()
{
    Command cmd;
    std::unique_ptr<Tcp_Server> server = std::make_unique<Tcp_Server>([&cmd](std::string cmd_str){
        return cmd.Excute(cmd_str);
    });
    server->Init();
    server->Start();
    return 0;
}